package com.wuxiaofan.mapper;
import org.springframework.stereotype.Component;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wuxiaofan.entity.UserLoginRecord;
import com.wuxiaofan.entity.custom.UserLoginRecordCustom;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.Map;

/**
 *用户登录记录表
 */
@Component
public interface UserLoginRecordMapper extends BaseMapper<UserLoginRecord> {
    public List<UserLoginRecordCustom> findByMap(@Param("map") Map paraMap, Page page);

    public List<UserLoginRecordCustom> findByMap(@Param("map") Map paraMap);

    public UserLoginRecordCustom findCountByMap(@Param("map") Map paraMap);

    public UserLoginRecordCustom findGroupByMap(@Param("map") Map paraMap);


    public void updateMapById(@Param("map") Map paraMap);
}
